Light to frequency